package com.youxin.cpcenter.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.busfoundation.model.BaseCluePool;
import com.youxin.foundation.utils.DateUtil;

public class TbEntCluePoolLog extends BaseCluePool{ 
    /** 公司线索池ID */
	@JsonIgnore
    private Long cluePoolId;
    /** 状态: 0-未跟进 1-跟进中,2-有意向,3已成交 */
    @JsonProperty("old_status")
    private Short oldStatus;
       
    /** 标识 */
    private Integer flag;

    /** 添加时间 */
   // @JsonProperty("log_time")
    @JsonIgnore
    private Date logTime;
    
    /** 跟进人名称 */
    @JsonProperty("old_real_name")
    private String oldRealName;

    /** 上一个会员关联企业 */
    @JsonProperty("old_ent_member_id")
    private Long oldEntMemberId;
 

    public String getOldRealName() {
		return oldRealName;
	}

	public void setOldRealName(String oldRealName) {
		this.oldRealName = oldRealName;
	}

	public Long getOldEntMemberId() {
		return oldEntMemberId;
	}

	public void setOldEntMemberId(Long oldEntMemberId) {
		this.oldEntMemberId = oldEntMemberId;
	}

	public Long getCluePoolId() {
        return cluePoolId;
    }

    public void setCluePoolId(Long cluePoolId) {
        this.cluePoolId = cluePoolId;
    }

    public Short getOldStatus() {
        return oldStatus;
    }

    public void setOldStatus(Short oldStatus) {
        this.oldStatus = oldStatus;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	@JsonProperty("create_time")
	public String getCreateTime()
	{
		return DateUtil.dateToString(logTime);
	}

  
}